package com.liang.mapper;

import com.liang.mall.entity.Menu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * <p>
 * 菜单管理 Mapper 接口
 * </p>
 *
 * @author lin
 * @since 2021-05-07
 */
@Mapper
@Component
public interface MenuMapper extends BaseMapper<Menu> {

    List<Menu> selectMenuAll();

    Integer[] selectList_BY_ROLE_id(Integer id);
}
